package com.rd;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@MapperScan("com.rd.mapper")
/*在执行controller中方法之前进行权限验证*/
//@EnableGlobalMethodSecurity(prePostEnabled = true)
public class OaApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(OaApplication.class,args);
    }
}
